package com.enums;

import lombok.Getter;

/**
 * @author rkc
 * @date 2022/8/23 15:40
 */
public enum ProjectTypeEnum {

    /**
     * java maven项目
     */
    MAVEN(1, "maven", "/api/v1/maven/run/"),

    /**
     * java项目
     */
    JAVA(2, "java", "/api/v1/java/run/");

    @Getter
    private String message;

    @Getter
    private int code;

    @Getter
    private String websocketUrl;

    ProjectTypeEnum(int code, String message, String websocketUrl) {
        this.code = code;
        this.message = message;
        this.websocketUrl = websocketUrl;
    }
}
